const mongoose = require('mongoose')
const { Schema } = mongoose

const commentSchema = new Schema({
    comment_id:Number,
    blog_id: Number,
    user_id:Number,
    content: String,
    time: String,
    nickname:String,
    user_photo:String,
})

const Comment = mongoose.model('comment',commentSchema)

module.exports = Comment